package xyz.yuanwl.service;

import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 
 * @author Yuanwl
 * @date 2018-09-08 18:06:14
 * @version v1.0.0
 */
@Component
@ToString
public class ValueTestBean {
	@Value("${xyz.yuanwl.str}")
	private String str;

	@Value("${server.port}")
	private Integer port;

	@Value("${xyz.yuanwl.b}")
	private Boolean b;

	@Value("${xyz.yuanwl.i}")
	private Integer i;

	@Value("${xyz.yuanwl.f}")
	private Float f;
}
